﻿using System;
using TMT_CMS.BL.Excel.AttributeUtility;

namespace TMT_CMS.BL.Excel.Entity
{
    public class LocationInfo
    {
        private short _ID = -1;
        private string _Abbr = string.Empty;
        private string _ChineseName = string.Empty;
        private string _EnglishName = string.Empty;
        private string _ChineseAddress = string.Empty;
        private string _EnglishAddress = string.Empty;
        private short _CityID = -1;
        private short _LocationTypeID = -1;
        private short _CustomerVendorID = -1;
        private string _InternationalIntermodalStationID = string.Empty;
        private string _RussianName = string.Empty;
        private string _Station = string.Empty;
        private string _Ability = string.Empty;

        [DataAttribute("ID", AttributeUtility.DataType.ShortInt, "作业地点编号")]
        public short ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        [DataAttribute("Abbr", AttributeUtility.DataType.String, "编码")]
        public string Abbr
        {
            get { return _Abbr; }
            set { _Abbr = value; }
        }

        [DataAttribute("ChineseName", AttributeUtility.DataType.String, "中文名字")]
        public string ChineseName
        {
            get { return _ChineseName; }
            set { _ChineseName = value; }
        }

        [DataAttribute("EnglishName", AttributeUtility.DataType.String, "英文名字")]
        public string EnglishName
        {
            get { return _EnglishName; }
            set { _EnglishName = value; }
        }

        [DataAttribute("ChineseAddress", AttributeUtility.DataType.String, "中文地址")]
        public string ChineseAddress
        {
            get { return _ChineseAddress; }
            set { _ChineseAddress = value; }
        }

        [DataAttribute("EnglishAddress", AttributeUtility.DataType.String, "英文地址")]
        public string EnglishAddress
        {
            get { return _EnglishAddress; }
            set { _EnglishAddress = value; }
        }

        [DataAttribute("CityID", AttributeUtility.DataType.ShortInt, "城市编号")]
        public short CityID
        {
            get { return _CityID; }
            set { _CityID = value; }
        }

        [DataAttribute("LocationTypeID", AttributeUtility.DataType.ShortInt, "作业地点类型编号")]
        public short LocationTypeID
        {
            get { return _LocationTypeID; }
            set { _LocationTypeID = value; }
        }

        [DataAttribute("CustomerVendorID", AttributeUtility.DataType.ShortInt, "客户供应商编号")]
        public short CustomerVendorID
        {
            get { return _CustomerVendorID; }
            set { _CustomerVendorID = value; }
        }

        [DataAttribute("InternationalIntermodalStationID", AttributeUtility.DataType.String, "国际联运车站代码")]
        public string InternationalIntermodalStationID
        {
            get { return _InternationalIntermodalStationID; }
            set { _InternationalIntermodalStationID = value; }
        }

        [DataAttribute("RussianName", AttributeUtility.DataType.String, "俄文名字")]
        public string RussianName
        {
            get { return _RussianName; }
            set { _RussianName = value; }
        }

        [DataAttribute("Station", AttributeUtility.DataType.String, "所属路局")]
        public string Station
        {
            get { return _Station; }
            set { _Station = value; }
        }

        [DataAttribute("Ability", AttributeUtility.DataType.String, "操作能力")]
        public string Ability
        {
            get { return _Ability; }
            set { _Ability = value; }
        }
    }
}